package com.lagou.bean;

import com.lagou.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * description ConsumerComponent
 * author wy
 * date 2021-08-10 22:58
 **/
@Component
public class ConsumerComponent
{
    @Reference
    private HelloService helloService;

    public String methodA() {
        return helloService.methodA();
    }

    public String methodB() {
        return helloService.methodB();
    }

    public String methodC() {
        return helloService.methodC();
    }
}
